#include "hwctl.h"
#include "wiringPi.h"
#include "stddef.h"

hw_node lock_stu = {
    .dev_name = "lock",
    .key = 0x04,
    .gpio_pin = 8,
    .gpio_mode = OUTPUT,
    .gpio_status = HIGH,
    .check_face_status = 1,
    .voice_set_status = 0,
    .next = NULL
};
    
hw_pt lock_add(hw_pt devHead)
{
    return dev_add(devHead, &lock_stu);
}